package cn.interestingshop.entity.vo;

/**
 * @Description TODO
 * @Author com.com.hyl
 * @Date 2022/9/3 9:39
 **/
public class GoodsVO {
	Integer currentPageNo; //当前页
	Integer pageSize; //显示的数量
	String goodsName; //名称
	Integer categoryId; //分类

	Integer beginIndex;

	public Integer getCurrentPageNo() {
		return currentPageNo;
	}

	public void setCurrentPageNo(Integer currentPageNo) {
		this.currentPageNo = currentPageNo;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getBeginIndex() {
		beginIndex = (currentPageNo-1)*pageSize;
		return beginIndex;
	}


}
